package com.wjc.wjc.service;


import com.wjc.wjc.unity.Student;
import com.wjc.wjc.unity.StudentQury;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface StudentService {
    Student login(String sno,String password);

    Page<Student> listStudent(Pageable pageable, StudentQury studentQury);

    Student save(Student student);

    void delete(Long id);

    void resetPassword(Long id);

    void  updatePwd(String password,String sno);

    void  updateIfor(String sex, String birthDate, String affiliation,String address,String sno);

    Student getOne(String sno);

}
